
package com.zoo.mongodb;

public class TestAmex {

    public static void main(String[] args) {

    
        System.out.println("Start");
        String card = "VISA"; double total = 150d;
        if(!"AMEX".equals(card) || (total < 100d)) {
            System.out.println("1 result");
        }
        card = "VISA"; total = 50d;
        if(!"AMEX".equals(card) || (total < 100d)) {
            System.out.println("visa1 result");
        }
        card = "VISA"; total = 150d;
        if(!"AMEX".equals(card) || (total < 100d)) {
            System.out.println("visa2 result");
        }

        card = "AMEX"; total = 50d;
        if(!"AMEX".equals(card) || (total < 100d)) {
            System.out.println("AMEX 1 result");
        }
        card = "AMEX"; total = 150d;
        if(!"AMEX".equals(card) || (total < 100d)) {
            System.out.println("AMEX 2 result");
        }
        System.out.println("Finih");
    }
}
